﻿$(function () {
    var username = '<%= session.getAttribute("username")%>';
    $("#userName").val = username;
    alert(username);

    /*$('form input[type=button]').click(function () {
        var userName = $('#userName').val();
        alert(userName);
        $.ajaxSetup({
            contentType : 'application/json;charset=UTF-8'
        });

        $.ajax({
            type : 'POST',
            url : '/api/user/login',
            data : userName,
            dataType:'json',
            success:function(data){
            }
        });
    });*/
}); 